﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;

namespace Steamrunner
{
    class GameOverScreen : Screen
    {
        Texture2D background = null;

        string nextScreen;

        public Rectangle screenBoundaries;

        public GameOverScreen(ScreenManager screenManager, Game game)
            : base(screenManager, game)
        {
        }

        public override void Initialize()
        {
            // Music, sound

            //Read from config file?

            // Etc.
            
            base.Initialize();
        }

        protected override void LoadContent()
        {
            screenBoundaries = Game.Window.ClientBounds;
            
            // load background
        }

        public override void Update(GameTime gameTime)
        {
            inputManager.Update(gameTime);
            
            // change value of nextScreen

            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            Spritebatch.Begin();

            // draw background

            Spritebatch.End();

            base.Draw(gameTime);
        }

        public override string GetNextScreen()
        {
            return nextScreen;
        }
    }
}
